package com.hu.zhcc.shiro.service.lgx;

import com.hu.zhcc.shiro.dao.lgx.TCheckgroupMapper;
import com.hu.zhcc.shiro.entity.lgx.TCheckgroup;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public class TCheckgroupServiceImpl implements TCheckgroupService {
    @Autowired
    TCheckgroupMapper tCheckgroupMapper;
    @Override
    public int deleteByPrimaryKey(Integer id) {
        return tCheckgroupMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(TCheckgroup record) {
        return tCheckgroupMapper.insert(record);
    }

    @Override
    public int insertSelective(TCheckgroup record) {
        return tCheckgroupMapper.insertSelective(record);
    }

    @Override
    public TCheckgroup selectByPrimaryKey(Integer id) {
        return tCheckgroupMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(TCheckgroup record) {
        return tCheckgroupMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(TCheckgroup record) {
        return tCheckgroupMapper.updateByPrimaryKey(record);
    }

    @Override
    public TCheckgroup  TCheckgroupid(int id) {
        return tCheckgroupMapper.TCheckgroupid(id);
    }

    @Override
    public List<TCheckgroup> TCheckgroupList() {
        return tCheckgroupMapper.TCheckgroupList();
    }
}
